﻿<controls:ChildWindow x:Class="VAdvantage.Framework.FormTemplate"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="320" Height="330" 
           Title="DeleteSelection">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <Button x:Name="btnCancel" Width="35" Height="35" HorizontalAlignment="Right" Margin="0,4,38,0" Grid.Row="1" Click="btnCancel_Click" >
            <Image Source="/VAdvantage;component/Images/cancel_up.png" Stretch="Fill"></Image>
        </Button>
        <Button x:Name="btnOK" Width="35" Height="35" HorizontalAlignment="Right" Margin="0,4,0,0" Grid.Row="1" Click="btnOk_Click" >
            <Image Source="/VAdvantage;component/Images/right_up.png" Stretch="Fill"></Image>
        </Button>
    </Grid>
</controls:ChildWindow>